function SetListBlockSortFieldsFlow(context){
    const listBlockContext = quickams.checkData(context, "listBlockContext");
    const listBlock = quickams.checkData(context, "listBlock");

    //排序
    {
        let responseFields = listBlockContext["resourceBlockContextOption"]["responseFields"];
        for(let i=0;i<responseFields.length;i++){
            listBlock["sorts"][responseFields[i]["name"]] = true;
        }
    }
    {
        //初始排序
        let initialSortField = listBlockContext["listBlockContextOption"]["initialSortField"];
        let initialSortOrder = listBlockContext["listBlockContextOption"]["initialSortOrder"];
        if(null!=initialSortOrder&&null!=initialSortOrder){
            listBlock["data"] = {
                "searchs": {
                    "sortField": initialSortField,
                    "sortOrder": initialSortOrder,
                }
            }
        }
    }
}